Two Sum In Javascript - Leetcode Challenge For Beginners